home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / CPP / WFC010.ZIP / INCLUDE / DCB.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-07  |  1.2 KB  |  53 lines

  1. #if ! defined( DCB_LASS_HEADER )
  2.  
  3. /*
  4. ** Author: Samuel R. Blackburn
  5. ** CI$: 76300,326
  6. ** Internet: sammy@sed.csc.com
  7. **
  8. ** You can use it any way you like as long as you don't try to sell it.
  9. **
  10. ** Any attempt to sell WFC in source code form must have the permission
  11. ** of the original author. You can produce commercial executables with
  12. ** WFC but you can't sell WFC.
  13. **
  14. ** Copyright, 1995, Samuel R. Blackburn
  15. **
  16. ** $Workfile: $
  17. ** $Revision: $
  18. ** $Modtime: $
  19. */
  20.  
  21. #define DCB_CLASS_HEADER
  22.  
  23. class CDeviceControlBlock : public _DCB
  24. {
  25.    public:
  26.  
  27.       CDeviceControlBlock();
  28.       CDeviceControlBlock( const DCB * source );
  29.       CDeviceControlBlock( const CDeviceControlBlock& source );
  30.  
  31.       /*
  32.       ** Destructor should be virtual according to MSJ article in Sept 1992
  33.       ** "Do More with Less Code:..."
  34.       */
  35.  
  36.       virtual ~CDeviceControlBlock();
  37.  
  38.       /*
  39.       ** Methods
  40.       */
  41.  
  42.       virtual void Copy( const CDeviceControlBlock& source );
  43.       virtual void Copy( const DCB *source );
  44.  
  45. #if defined( _DEBUG )
  46.  
  47.       virtual void Dump( CDumpContext& dump_context ) const;
  48.  
  49. #endif // _DEBUG
  50. };
  51.  
  52. #endif // DCB_CLASS_HEADER
  53.